@foreach(['success','danger'] as $k)
    @if(session()->has($k))
        <p style="color: #bd2130">{{ session()->get($k) }}</p>
    @endif
@endforeach